<template>
<div class="van-button van-button--info van-button--small" @click="clickFunc" style="font-size: 14px;">
  <div class="van-button__content"><slot></slot></div>
</div>
</template>

<script>
export default {
  props: [ 'disabled' ],
  data() {
    return {
      pickerValue: ''
    } 
  },
  methods: {
    clickFunc() {
      if (this.disabled) {
        return ;
      } else {
        this.$emit('click');
      }
    }
  }
}
</script>
